﻿using System;
using System.Collections.Generic;
using System.Text;

namespace MazeRaider
{
    class AlgorithmFactory
    {
        public static IAlgorithm CreateAlgorithm(AlgorithmEnum algorithmEnum, Robot[] robots)
        {
            if (AlgorithmEnum.DFS_ALGORITHM.Equals(algorithmEnum))
            {
                return new DfsAlgorithm(robots);
            }
            return null;
        }
    }
}
